//commonjs
// const fs=require("fs")
// const b=require("./b")
// console.log(b)

// import person,{username} from "./b.js"
// console.log(username,person.age)
import person from "./b.js"
let {age1}=person
console.log(age1)



//es6新特性解构
// let person={name:"ls",age:"19"}
// let name1=person.name
// let {name,age}=person
// console.log(age)

// let [vv,nn,gg]=[1,2,3]
// console.log(vv)